<div class="full_w">
    <div class="h_title"><?php echo Yii::t('AdmincpModule.admincp', 'Update Advertiser'); ?></div>
    <?php 
        foreach(Yii::app()->admin->getFlashes() as $key => $message){
            echo '<div class="n_'.$key.'"><p>'.$message."</p></div>\n";
        }
    ?>
    <form action="" method="post" id="frm">
    	<div class="element">
            <label>Name <span class="red">*</span></label>
            <input type="text" name="client[client_name]" id="client_name" class="text required" value="<?php echo isset($arrItemInfo['client_name'])?$arrItemInfo['client_name']:null; ?>" autocomplete="off">
        </div>
        <div class="element">
            <label>Email <span class="red">*</span></label>
            <input type="text" name="client[client_email]" id="client_email" class="text required email" value="<?php echo isset($arrItemInfo['client_email'])?$arrItemInfo['client_email']:null; ?>" autocomplete="off">
        </div>  
        <div class="element">
            <label>Address</label>
            <input type="text" name="client[client_address]" id="client_address" class="text" value="<?php echo isset($arrItemInfo['client_address'])?$arrItemInfo['client_address']:null; ?>" autocomplete="off">
        </div>  
        <div class="element">
            <label>Phone</label>
            <input type="text" name="client[client_phone]" id="client_phone" class="text" value="<?php echo isset($arrItemInfo['client_phone'])?$arrItemInfo['client_phone']:null; ?>" autocomplete="off">
        </div>   
        <div class="element">
            <label>Description</label>
            <textarea name="client[client_description]" id="client_description" class="textarea" ><?php echo isset($arrItemInfo['client_description'])?$arrItemInfo['client_description']:null; ?></textarea>
        </div>     
        <div class="entry">
            <input type="hidden" name="id" id="id" value="<?php echo isset($arrItemInfo['client_id'])?$arrItemInfo['client_id']:null; ?>">
            <button type="submit">Submit</button> 
            <button type="button" onClick="window.location='<?php echo LINK_ADMINCP_ADVERTISEMENTS; ?>'">Cancel</button>
        </div>
    </form>
</div>
<script type="text/javascript">
	$('#frm').validate();
</script>